package pl.veneo.wigprofit.ctrl.events {
	import flash.events.Event;

	/**
	 * @author Tomasz Swierszcz, fiodorkrk@gmail.com
	 */
	public class SliderUpdateEvent extends Event {
		public static const ON_SLIDER_CHANGE : String = "on_slider_change";
		private var _sliderX : Number;
		private var _sliderWidth : Number;

		public function SliderUpdateEvent(type : String, sliderX : Number, sliderWidth : Number) {
			_sliderWidth = sliderWidth;
			_sliderX = sliderX;

			super(type);
		}

		public function get sliderX() : Number {
			return _sliderX;
		}

		public function get sliderWidth() : Number {
			return _sliderWidth;
		}
	}
}
